<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>设备信息</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  <script type="text/javascript">
  //编写自定义JS代码
  </script>
 </head>
 <body>
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="doorAccessController.do?doAdd" tiptype="3" >
		<table style=" " cellpadding="0" cellspacing="1" class="formtable">
				<tr>
					<td align="right">
						<label class="Validform_label">
							门禁名称:
						</label>
					</td>
					<td class="value">
				     	 <input id="name" name="name" type="text" style="width: 150px"
				     	  class="inputxt"  datatype="*" onkeypress="specialTextValidate()" maxlength="100">
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">门禁名称</label>
					</td>	
				</tr>	
				<tr>
					<td align="right">
						<label class="Validform_label">
							门禁IP:
						</label>
					</td>
					<td class="value">
					     	 <input id="ip" name="ip" type="text" style="width: 150px"
					     	  class="inputxt"  datatype="*"  maxlength="100">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">门禁IP</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							门禁通道号:
						</label>
					</td>
					<td class="value">
					     	 <input id="channel" name="channel" type="text" style="width: 150px"
					     	  class="inputxt"  datatype="*" onkeypress="specialTextValidate()" maxlength="100">
							<span class="Validform_checktip"></span>
							<label class="Validform_label" style="display: none;">门禁通道号</label>
					</td>
				</tr>
				<tr>
					<td align="right">
						<label class="Validform_label">
							实验室:
						</label>
					</td>
					<td class="value"> 
                	     <input id="labId" name="labId" type="hidden"  >               
					     <input id="labName"  type="text" style="width: 150px" class="inputxt" readonly="readonly" datatype="*">
					     <t:choose textname="name" inputTextname="labName" hiddenName="labId" hiddenid="id" url="labController.do?goSelect" name="labList"
                          icon="icon-search" title="选择实验室"  isclear="false" isInit="true" width="470px"></t:choose>
						<span class="Validform_checktip"></span>
						<label class="Validform_label" style="display: none;">实验室</label>						
					</td>
				</tr>	
			</table>
		</t:formvalid>
 </body>